/* ------------------------------------
 * SatriBlog Theme
 *
 * @author  XiaYuxuan
 * @link  https://blog.satri.cn
 * @update  2024-04-11
 * --------------------------------- */

/* ------------------
 * Global style
 * --------------- */

@font-face {
  font-family: satriBlogFont;
  src: url('font/FangZhengShuSongJianTi-1.ttf');
}

.font {
  font-family: satriBlogFont;
  /* font-family: Roboto, "FZShuSong-Z01", sans-serif; */
}

.photo {
  background: #232639 none repeat center top;
  position: relative;
  border-bottom: 1px #3c3c3c solid;
  color: #8D9095;
}

.photo img {
  width: 80%;
}

.fadein {
  animation-name: fadeIn;
}

.photo h1 {
  display: inline;
  float: right;
  margin: 0;
  margin-right: 13%;
  margin-top: 50px;
  font-size: 20px;
  writing-mode: vertical-rl;
  letter-spacing: 5px;
}

.slideiup {
  animation-fill-mode: both;
}

.photo h1 span {
  font-size: 13px;
  margin-top: 20px;
}

.info {
  background: #232639 none repeat center top;
  position: relative;
  border-bottom: 1px #3c3c3c solid;
  padding: 20px 10px;
}

.info .slideinup {
  color: #ffc576;
  font-size: 16px;
  white-space: nowrap;
}

.info img {
  width: 200px;
  float: right;
  animation-name: fadeIn;
  animation-fill-mode: both;
  overflow-clip-margin: content-box;
  overflow: clip;
  font-size: 14px;
  margin-right: -15px;
}

.info .slideinup span {
  font-weight: normal;
  font-style: normal;
  color: #eaeaea;
  display: inline-block;
  padding: 2px;
  font-size: 12px;
  margin: 0 0 20px 10px;
}

.info .item li {
  list-style: none;
  white-space: nowrap;
  margin-bottom: 12px;
  font-size: 12px;
  color: #969696;
}

.detail {
  background-color: #313552;
  border-radius: 8px;
  padding: 20px 0 32px 15px;
  font-size: 14px;
}

.about {
  background: #232639 none repeat center top;
  position: relative;
  border-bottom: 1px #3c3c3c solid;
  padding: 20px;
}

.about .slideinup span {
  color: #ffc576;
  font-size: 16px;
}

.about h2 {
  margin: 10px 0 30px;
  color: #8D9095;
  font-size: 24px;

}

.content p {
  font-size: 14px;
  color: #b5b5b5;
  letter-spacing: 2px;
  line-height: 2;
  text-indent: 2em;
  text-align: justify;
}

.exp {
  background: #313552 none repeat center top;
  position: relative;
  border-bottom: 1px #3c3c3c solid;
  padding: 20px;
  max-width: 100%;
}

.field {
  background: #1c1f2f none repeat center top;
  position: relative;
  border-bottom: 1px #3c3c3c solid;
  padding: 20px;
}

.field h5 {
  font-size: 16px;
  color: #ffc576;
  margin: 0;
  letter-spacing: 2px;
}

.field .list-item {
  background-color: #2c2f3c;
  border-radius: 8px;
  padding: 15px 20px 5px;
  font-size: 14px;
  margin-bottom: 20px;
  border: rgb(99 86 51) 1px solid;
}

.field .list-item p {
  line-height: 2;
  letter-spacing: 2px;
  color: #8D9095;
}

.contact {
  background: #313552 none repeat center top;
  position: relative;
  padding: 20px 20px 60px;
}

.contact .content img {
  width: 100px;
  height: 100px;
}

.contact .content span {
  display: block;
  font-size: 11px;
  margin: 10px;
  color: #8D9095;
}

.phone_top {
  display: flex;
  flex-direction: column;
  padding: 15px 0;
  text-align: center;
  background: #fff;
  height: 30px;
  position: sticky;
  width: 100%;
  top: 0;
  z-index: 9999;

}

.phone_top a:link,
.phone_top a:visited,
.phone_top a:hover,
.phone_tope a:active {
  color: #3354AA;
  /* 设置为您希望的颜色 */
  text-decoration: none;
  /* 可选，取消下划线 */
}

.phone_top_title {
  font-size: 16px;
  font-weight: 999;
  font-family: satriBlogFont;
  /* font-family: Roboto, "FZShuSong-Z01", sans-serif; */
}

.phone_top_url {
  font-size: 10px;
}

.phone_top_nums {
  font-size: 10px;
  font-family: satriBlogFont;
  /* font-family: Roboto, "FZShuSong-Z01", sans-serif; */
}

.phone_nav {
  padding-top: 12px;
  padding-bottom: 12px;
  display: flex;
  align-items: center;
  background: #fff;
  justify-content: space-around;
  font-size: 14px;
  /*box-shadow: 0 -2px 6px rgba(0,0,0,0.35);*/
  z-index: 9999;
}

.phone_nav_common {}

.phone_nav_active {
  font-weight: 999;
  text-shadow: 0 -3px 10px rgba(0, 0, 0, 0.35);
}

.banner {
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
  list-style: none;
  padding: 0;
  z-index: 1;
}

.banner-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
}

.banner-wrapper a {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  width: 100%;
  display: block;
  height: 200px;
}

.banner-wrapper h2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  position: absolute;
  bottom: 0;
  color: #fff;
  text-shadow: 2px 1px 1px #000;
  font-size: 20px;
  padding: 10px 25px;
}

.post_all {
  padding-top: 25px;
  padding-bottom: 25px;
  border-bottom: 1px #f1f1f1 solid;
  margin: 0 30px;
}

.post_title_all {
  padding-bottom: 6px;
}

.post_title_all h2 {
  letter-spacing: 1px;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 600;
  color: #1F1F1F;
  margin: 0 0 6px 0;
}

.post_title_all a {
  text-decoration: none;
  letter-spacing: 1px;
  color: #1F1F1F;
  font-size: 18px;
  line-height: 28px;
}

.post_preview_all {
  display: inline-flex;
  word-break: break-all;
}

.post_preview_all .desc {
  width: 150%;
  text-align: justify;
  padding: 0;
  padding-bottom: 0 !important;
  letter-spacing: 2px;
  line-height: 2em;
  margin: 0;
  font-size: 14px;
  color: #222;
  text-align: justify;
}

.post_preview_all .post_img {
  display: inline;
  width: 220px;
  height: 80px;
  border-radius: 3px;
  margin-left: 10px;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  position: relative;
}

.post_meta_all {
  padding: 10px 0 0;
  max-width: 100%;
  color: #bbb;
}

.post_meta_all span {
  font-size: 11px;
  margin-right: 10px;
}

.phone_post_content {
  padding: 10px 30px;
  letter-spacing: 2px;
  line-height: 2;
  text-align: justify;
}

.phone_post_content p {
  display: block;
  font-size: 16px;
  font-family: satriBlogFont;
  /* font-family: Roboto, "FZShuSong-Z01", sans-serif; */
  font-weight: 900;
}

.phone_post_content img {
  width: 100%;
}

.post_content img {
  width: 100%;
}

.phone_post_category {
  padding-top: 5px;
  text-align: center;
  padding: 5px 80px;
  z-index: 9999;
}

.phone_post_category a {
  padding: 5px 8px;
  background: #de8500;
  color: #fff;
  font-size: 12px;
}

.post_title {
  text-align: center;
  padding: 0 80px;
  word-break: break-all;
}

.post_title h2 a {
  font-size: 24px;
  color: #111;
}

.post_title span {
  font-size: 12px;
  color: #9a9a9a;
  padding: 0 10px;
}

.post_title span .spot_comment {
  border-left: #dadada 1px solid;
}

.post_content {
  padding: 10px 30px;
  letter-spacing: 2px;
  line-height: 2;
  text-align: justify;
  font-size: 16px;
  word-break: break-all;
}

.cc-say {
  padding: 10px 50px;
  font-size: 12px;
  background: #afafaf1a;
  color: #909090;
  letter-spacing: 1px;
  line-height: 2;
  text-align: justify;
}

#comments-form {
  padding-bottom: 40px;
}

.comment-author-info .comment-md-3 {
  float: left;
  font-size: 12px;
  color: #ccc;
  box-sizing: border-box;
  position: relative;
  margin-right: 10px;
  width: calc(calc(100%/2) - 5px);
}

.comment-author-info label {
  color: #888;
  font-size: 14px;
}

label {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 5px;
  font-weight: 700;
  cursor: default;
}

.comment-author-info .required {
  color: #ff4b33;
  font-weight: 700;
  margin-left: 3px;
}

.comment-author-info #author,
.comment-author-info #mail,
.comment-author-info #url {
  margin-bottom: 20px;
  margin-top: 5px;
  padding: 10px 20px;
  border: 1px solid #eaeaea;
}

#comment-form input {
  width: 100%;
  background-color: #FFFFFF;
  outline: none !important;
  box-shadow: none !important;
  font-size: 14px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: normal;
  word-spacing: normal;
  text-transform: none;
  text-indent: 0px;
  text-shadow: none;
  display: inline-block;
  text-align: start;
  -webkit-appearance: textfield;
  box-sizing: border-box;
}

.comment-textarea textarea {
  font-size: 12px;
  line-height: 2;
  letter-spacing: 1px;
  width: 100%;
  padding: 10px 14px;
  float: left;
  box-sizing: border-box;
  border: #eaeaea 1px solid;
}

#comments .comment-submit {
  width: 100%;
}

#comments .comment-submit .submit-left {
  float: left;
  cursor: pointer;
}

#comments .comment-submit .submit-right {
  text-align: right;
}

#comments .submit {
  padding: 5px 20px;
  margin-top: 10px;
  color: #fff;
  background: #4a4a4a;
  cursor: pointer;
  outline: none;
}

.pb-5 {
  padding-bottom: 3rem !important;
}

.align-items-center {
  -ms-flex-align: center !important;
  align-items: center !important;
}

.row {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: 10px;
  margin-left: 10px;
  padding-top: 10px;
}

.col {
  flex-basis: 0;
  flex-grow: 1;
  max-width: 100%;
}

.flex-column {
  flex-direction: column !important;
}

.d-flex {
  display: flex !important;
}

.mx-auto {
  margin-left: auto !important;
  margin-right: auto !important;
}

.rounded-circle {
  border-radius: 50% !important;
}

.avatar-img {
  height: 128px;
  width: 128px;
  object-fit: cover;
  border: rgba(255, 255, 255, .4) 1px solid;
}

.text-white {
  color: #fff !important;
}

.pt-2 {
  padding-top: .5rem !important;
}

.d-flex h4 {
  font-size: 1.5rem;
  margin-bottom: .5rem;
  font-weight: 500;
  line-height: 1.2;
}

.lover-background {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: -1;
  object-fit: cover;
  background-position-x: center;
  background-position-y: center;
  background-size: cover;
  background-size: cover;
  background-position: center;
}

.lover-background::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  /* 这里是暗色的颜色 */
  opacity: 0.2;
  /* 调整不透明度来控制图片暗度，范围从 0 到 1 */
}

.position-relative {
  position: relative !important;
}

.container-fluid {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.text-center {
  justify-content: center;
  text-align: center !important;
}

.py-2 {
  padding-bottom: .5rem !important;
}

.py-2 {
  padding-top: .5rem !important;
}

.my-5 {
  margin-bottom: 3rem !important;
}

.my-5 {
  margin-top: 3rem !important;
}

.card-title {
  margin-bottom: .75rem;
}

#site_runtime {
  margin-top: 0;
  font-size: 1.25rem;
  margin-bottom: .5rem;
  font-weight: 999;
  line-height: 1.2;
  color: white;
}

#books {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 10px;
  background-color: white;
}

#books a {
  text-decoration: none;
  color: #111;
}

.book-thumb {
  height: 130px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
}

.book-name {
  text-align: center;
  font-size: 11px;
  white-space: normal;
  margin: 10px 5px;
  /*overflow: hidden;*/
  width: 76.5px;
  overflow-wrap: break-word;
}

#photos .grid {
  float: left;
  width: 50%;
  margin-bottom: 10px;
}

#photos .grid .grid-item {
  border: 1px solid white;
  margin-right: 10px;
  height: 174px;
}

#photos .grid .grid-item a {
  text-decoration: none;
  color: #111;
}

.grid-item img {
  width: 100%;
  height: 174px;
  object-fit: cover;
  opacity: 1;
}

.mood .mood-content {
  margin: 20px 0;
  padding: 0 15px;
}

.mood_date span {
  background-color: rgba(255, 118, 30, 0.15);
  color: #ff761e;
  font-size: 11px;
  padding: 2px 8px;
}

.mood_content {
  margin: 15px 0 0;
}

.mood_content p {
  padding-left: 0;
  margin: 0;
  word-break: break-all;
  text-align: justify;
  color: #606975;
  line-height: 30px !important;
  position: relative;
  padding-bottom: 20px;
  font-size: 14px;
  background: -webkit-gradient(linear, left top, left bottom, from(#05241d), color-stop(2%, rgba(255, 255, 255, 0)));
  background: -moz-repeating-linear-gradient(top, #05241d, #05241d 29px, rgba(255, 255, 255, 0) 30px);
  background: repeating-linear-gradient(top, #05241d, #05241d 29px, rgba(255, 255, 255, 0) 30px);
  -webkit-background-size: 100% 30px;
  letter-spacing: 2px;
}

header {
  position: fixed;
  /* 固定在页面顶部 */
  top: 0;
  /* 距离页面顶部的距离 */
  left: 0;
  /* 保持在页面左侧 */
  z-index: 9999;
  /* 确保 header 元素位于其他元素的顶部 */
  width: 100%;
  /* 确保 header 元素占据整个页面宽度 */

}

body {
  background-color: #F8F8F8;
  color: #333333;
  width: 100%;
  margin: 0;
  padding-top: 86px;
  background-position: left top;
  background-size: auto;
  background-repeat: repeat;
  background-attachment: fixed;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  /*font-family: "Droid Serif", Georgia, "Times New Roman", "PingFang SC", "Hiragino Sans GB", "Source Han Sans CN", "WenQuanYi Micro Hei","Microsoft Yahei", serif;*/
  font-size: 87.5%;
}

a {
  color: #3354AA;
  text-decoration: none;
}

a:hover,
a:active {
  color: #444;
}

pre,
code {
  background: #F3F3F3;
  font-family: Menlo, Monaco, Consolas, "Lucida Console", "Courier New", monospace;
  font-size: .92857em;
}

code {
  padding: 2px 4px;
  color: #B94A48;
}

pre {
  padding: 8px;
  overflow: auto;
  max-height: 400px;
}

pre code {
  padding: 3px;
  color: #444;
}

blockquote {
  margin: 1em 0;
  padding-left: 1.5em;
  border-left: 4px solid #eee;
  color: #666;
}

table {
  border: 1px solid #ddd;
  width: 100%;
}

table th,
table td {
  padding: 5px 10px;
  border: 1px solid #eee;
}

table th {
  background: #f3f3f3;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "WenQuanYi Micro Hei", "Microsoft Yahei", sans-serif;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
textarea {
  padding: 5px;
  border: 1px solid #E9E9E9;
  width: 100%;

  border-radius: 2px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

textarea {
  resize: vertical;
}


/* Special link style */
.post-meta a,
.post-content a,
.widget a,
.comment-content a {
  border-bottom: 1px solid #EEE;
}

.post-meta a:hover,
.post-content a:hover,
.widget a:hover,
.comment-content a:hover {
  border-bottom-color: transparent;
}

/* ------------------
 * Header
 * --------------- */

#header {
  padding-top: 35px;
  border-bottom: 1px solid #EEE;
}

#logo {
  color: #333;
  font-size: 2.5em;
}

#logo img {
  max-height: 64px;
}

.description {
  margin: .5em 0 0;
  color: #999;
  font-style: italic;
}

/* Navigation menu */
#nav-menu {
  margin: 25px 0 0;
  padding: 0;
}

#nav-menu a {
  display: block;
  margin-right: -1px;
  padding: 0 20px;
  border: 1px solid #EEE;
  border-bottom: none;
  height: 32px;
  line-height: 32px;
  color: #444;
  float: left;
}

#nav-menu a:hover,
#nav-menu .current {
  background: #F6F6F6;
}

/* Search */
#search {
  position: relative;
  margin-top: 15px;
}

#search input {
  padding-right: 30px;
}

#search button {
  position: absolute;
  right: 4px;
  top: 2px;
  border: none;
  padding: 0;
  width: 24px;
  height: 24px;
  background: transparent url(img/icon-search.png) no-repeat center center;
  direction: ltr;
  /* fix RTL language */
  text-indent: -9999em;
}

@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
  #search button {
    background-image: url(img/icon-search@2x.png);
    -webkit-background-size: 24px 24px;
    -moz-background-size: 24px 24px;
    -o-background-size: 24px 24px;
    background-size: 24px 24px;
  }
}


/* ------------------
 * Main
 * --------------- */

.post {
  padding: 15px 0 20px;
  border-bottom: 1px solid #EEE;
}

.post-title {
  margin: .83em 0;
  font-size: 1.4em;
}

.post-meta {
  margin-top: -0.5em;
  padding: 0;
  color: #999;
  font-size: .92857em;
}

.post-meta li {
  display: inline-block;
  margin: 0 8px 0 0;
  padding-left: 12px;
  border-left: 1px solid #EEE;
}

.post-meta li:first-child {
  margin-left: 0;
  padding-left: 0;
  border: none;
}

.post-content {
  line-height: 1.5;
}

.post .tags {
  clear: both;
}

.post-near {
  list-style: none;
  margin: 30px 0;
  padding: 0;
  color: #999;
  display: flex;
  width: 100%;
  justify-content: space-around;
}

.post-near li {
  margin: 10px 0;
}

.archive-title {
  margin: 1em 0 -1em;
  padding-top: 20px;
  color: #999;
  font-size: 1em;
}

.more {
  text-align: center;
}

.more a {
  border: none;
}

.protected .text {
  width: 50%;
}

/* Page nav */

.page-navigator {
  list-style: none;
  padding: 25px 0;
  text-align: center;
}

.page-navigator li {
  display: inline-block;
  margin: 0 4px;
}

.page-navigator a {
  display: inline-block;
  padding: 0 10px;
  height: 30px;
  line-height: 30px;
}

.page-navigator a:hover {
  background: #EEE;
  text-decoration: none;
}

.page-navigator .current a {
  color: #444;
  background: #EEE;
}

/* ------------------
 * Comment list
 * --------------- */
#comments {
  padding: 0px 30px;
  padding-top: 5px;
  padding-bottom: 15px;
  background-color: white;
}

#comments .comment-list {
  margin: 0;
  padding: 0;
}

#comments li {
  list-style: none;
}

#comments h3 {
  font-size: 14px;
  margin: 20px 0;
  color: #6b4000;
  position: relative;
  display: inline-block;
}

.comment-list,
.comment-list ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.comment-list li {
  padding: 14px;
  margin-top: 10px;
  border: 1px solid #EEE;
}

.comment-list li.comment-level-odd {
  background: #F6F6F3;
}

.comment-list li.comment-level-even {
  background: #FFF;
}

.comment-list li.comment-by-author {
  background: #FFF9E8;
}

.comment-list li .comment-reply {
  text-align: right;
  font-size: .92857em;
}

.comment-meta a {
  color: #999;
  font-size: .92857em;
}

.comment-author {
  display: block;
  margin-bottom: 3px;
  color: #444;
}

.comment-author .avatar {
  float: left;
  margin-right: 10px;
}

.comment-author cite {
  font-weight: bold;
  font-style: normal;
}

/* Comment reply */
.comment-list .respond {
  margin-top: 15px;
  border-top: 1px solid #EEE;
}

.respond .cancel-comment-reply {
  float: right;
  margin-top: 15px;
  font-size: .92857em;
}

#comment-form label {
  display: block;
  margin-bottom: .5em;
  font-weight: bold;
}

#comment-form .required:after {
  content: " *";
  color: #C00;
}

/* ------------------
 * secondary
 * --------------- */
#secondary {
  padding-top: 15px;
  word-wrap: break-word;
}

.widget {
  margin-bottom: 30px;
}

.widget-list {
  list-style: none;
  padding: 0;
}

.widget-list li {
  margin: 5px 0;
  line-height: 1.6;
}

.widget-list li ul {
  margin-left: 15px;
}


/* ------------------
 * Footer
 * --------------- */
#footer {
  padding: 3em 0;
  line-height: 1.5;
  text-align: center;
  color: #999;
  background-color: white;
}


/* -----------------
 * Error page
 * -------------- */
.error-page {
  margin-top: 100px;
  margin-bottom: 100px;
}


/* -----------------
 * Content format
 *--------------- */
.post-content,
.comment-content {
  line-height: 1.5;
  word-wrap: break-word;
}

.post-content h2,
.comment-content h2 {
  font-size: 1.28571em;
}

.post-content img,
.comment-content img,
.post-content video,
.comment-content video {
  max-width: 100%;
}

.post-content a img,
.comment-content a img {
  background: #FFF;
  position: relative;
  bottom: -4px;
  /* hidden img parent link border  */
}

.post-content hr,
.comment-content hr {
  margin: 2em auto;
  width: 100px;
  border: 1px solid #E9E9E9;
  border-width: 2px 0 0 0;
}


/* -----------------
 * Misc
 *--------------- */
.aligncenter,
div.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignleft {
  float: left;
}

.alignright {
  float: right;
}

img.alignleft {
  margin: 0 15px 0 0;
}

img.alignright {
  margin: 0 0 0 15px;
}


/* -----------------
 * Responsive
 *--------------- */
@media (max-width: 767px) {
  body {
    font-size: 81.25%;
  }

  #nav-menu a {
    float: none;
    display: inline-block;
    margin: 0 -2px;
  }
}

@media (max-width: 768px) {

  #header,
  .post-title,
  .post-meta {
    text-align: center;
  }
}

@media (min-width: 992px) {}

@media (min-width: 1200px) {
  .container {
    max-width: 952px;
  }
}


/*
* Hide from both screenreaders and browsers: h5bp.com/u
*/
.hidden {
  display: none !important;
  visibility: hidden;
}

/*
* Hide only visually, but have it available for screenreaders: h5bp.com/v
*/
.sr-only {
  border: 0;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/*
* Extends the .sr-only class to allow the element to be focusable
* when navigated to via the keyboard: h5bp.com/p
*/
.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}

/*
* Hide visually and from screenreaders, but maintain layout
*/
.invisible {
  visibility: hidden;
}